<!DOCTYPE html><!--suppress HtmlFormInputWithoutLabel -->
<html lang="en" th:fragment="header" xmlns:th="http://www.thymeleaf.org">
<header role="header">
    <div class="container">

        <!-- logo -->
        <h1>
            <a th:href="@{/}" title="壹仟的博客网站">
                <!--suppress RequiredAttributes -->
                <img alt="壹仟的博客网站" style="width: 66px;" th:src="@{/site/images/logo.png}" title="壹仟的博客网站"/> </a>
        </h1>
        <!-- logo -->
        <form class="col-md-3 navbar-right" id="searchArticleForm" method="post" th:action="@{/blog/search}">
            <div class="input-group">
                <input class="form-control" maxlength="100" name="content" placeholder="Search blog..." type="text"> <span class="input-group-btn">
                    <button class="btn btn-default" type="submit">
                        <span aria-hidden="true" class="glyphicon glyphicon-search"></span>
                    </button>
                </span>
            </div>
            <input name="pageSize" type="hidden" value="11">
        </form>

        <!-- nav -->
        <nav class="navy" role="header-nav">
            <ul>
                <li th:class="${active == 'blog' ? 'nav-active':''}"><a th:href="@{/}" title="Blog">Blog</a></li>
                <li th:class="${active == 'photo' ? 'nav-active':''}"><a th:href="@{/photo/index}" title="Photo">Photo</a></li>
                <li th:class="${active == 'about' ? 'nav-active':''}"><a th:href="@{/about}" title="About">About</a></li>
            </ul>
        </nav>
        <!-- nav -->
    </div>
</header>
</html>